package myextends.extendsDemo;

public class Son extends Father{
    public Son(){
        System.out.println("子类空参");
    }
    public Son(int num) {
        System.out.println("子类代餐");
    }
    public Son(double num){
        super(num);
        System.out.println("子类的double代餐");
    }
}
